<!doctype html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport"
          content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>Document</title>
</head>
<body>
<table align="center" width="1200" cellspacing="0" cellpadding="5" style="border-collapse: collapse;">
    <caption> <h4>人员信息表</h4> </caption>
    <tr><td><a href="add"><button> 添加信息 </button></a></td></tr>
    <tr style="height: 40px; background-color: beige;" align="center">
        <td class="br">ID</td>
        <td class="br">姓名</td>
        <td class="br">年龄</td>
        <td class="br">性别</td>
        <td class="br">家乡</td>
        <td class="br">兴趣</td>
        <td class="br">简历</td>
        <td class="br">创建时间</td>
        <td class="br">更新时间</td>
        <td>操作</td>
    </tr>
    @foreach($list as $l)
    <tr>
        <td class="br">{{$l->id}}</td>
        <td class="br">{{$l->name}}</td>
        <td class="br">{{$l->age}}</td>
        <td class="br">{{$l->gender}}</td>
        <td class="br">{{$l->hometown}}</td>
        <td class="br">{{$l->hobby}}</td>
        <td class="br">{{$l->description}}</td>
        <td class="br">{{$l->created_at}}</td>
        <td class="br">{{$l->updated_at}}</td>
        <td><a href="add?id={{$l->id}}" style="">编辑</a><a href="del?id={{$l->id}}" style="">删除</a></td>
    </tr>
    @endforeach
</table>
</body>
</html>
